home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Vault: The Diamond Collection
/
The Diamond Collection (Software Vault)(Digital Impact).ISO
/
cdr37
/
list224.zip
/
LISTUTIL.WCX
(
.txt
)
< prev
Wrap
Wildcat! WCX
|
1995-03-13
|
13KB
|
807 lines
'! Decompiled with wccNosy version 4.20f (freeware)
'! Input File: in.wcx 13450 bytes 01/29/123 04:30:20pm
'! Code Segment Size :6991 bytes
'! Data Segment Size :5828 bytes
'! String Segment Size:6459 bytes
'! Compiled with WCC version 4.01
Type Type28
Filler0(1 To 4) As Byte
w4 As Word
End Type
Type Type27
Filler0(1 To 661) As Byte
w661 As Word
End Type
Type Type26
s0 As String*70
s70 As String*8
i78 As Integer
End Type
Dim b4463(1 To 70) As Byte
Dim i4533 As Integer
Dim s4535 As String*70
Dim t26_4605 As Type26
Dim t27_4685 As Type27
Dim s5421 As String
Dim s5425 As String
Dim i5429 As Integer
Dim i5431 As Integer
Dim i5433 As Integer
Dim i5435 As Integer
Dim mh5437 As MessageHeader
Dim s5757 As String*20
Dim s5777 As String*15
Dim s5792 As String*15
Dim s5807 As String*15
Dim w5822 As Word
Dim i5824 As Integer
Dim i5826 As Integer
Dim l65518_ As Long
Dim i65522_ As Integer
Dim s65524_ As String
Dim i65528_ As Integer
Dim i65530_ As Integer
Dim s65532_ As String
Cls
Print "Listserv Sysop Utility v2.24 (03/13/95) - by Pete Nelson"
Print "Terminal One BBS (510) 689-9528"
Print "Author: pete@terminal-one.com"
Print
If Exists("listserv.key") Then
Open "listserv.key" For Random As 1 Len = 70 '! This value should probably be replaced with a "SizeOf" expression
Get 1, 1, b4463 '! 70 bytes
Print "@0E@Registered to@07@:@0A@ ";
148 For i4533 = 1 To 70 Step 1
Print Chr(b4463(i4533) - 120);
Next
262 Locate 7, 19
Print "@0F@|";
Delay 0.001
Locate 7, 19
Print "@0C@T@0F@\";
Delay 0.001
Locate 7, 20
Print "@0C@h@0F@-";
Delay 0.001
Locate 7, 21
Print "@0C@a@0F@/";
Delay 0.001
Locate 7, 22
Print "@0C@n@0F@|";
Delay 0.001
Locate 7, 23
Print "@0C@k@0F@\";
Delay 0.001
Locate 7, 24
Print "@0C@s@0F@-";
Delay 0.001
Locate 7, 25
Print "@0C@ @0F@/";
Delay 0.001
Locate 7, 26
Print "@0C@f@0F@|";
Delay 0.001
Locate 7, 27
Print "@0C@o@0F@\";
Delay 0.001
Locate 7, 28
Print "@0C@r@0F@-";
Delay 0.001
Locate 7, 29
Print "@0C@ @0F@/";
Delay 0.001
Locate 7, 30
Print "@0C@s@0F@|";
Delay 0.001
Locate 7, 31
Print "@0C@u@0F@\";
Delay 0.001
Locate 7, 32
Print "@0C@p@0F@-";
Delay 0.001
Locate 7, 33
Print "@0C@p@0F@/";
Delay 0.001
Locate 7, 34
Print "@0C@o@0F@|";
Delay 0.001
Locate 7, 35
Print "@0C@r@0F@\";
Delay 0.001
Locate 7, 36
Print "@0C@t@0F@-";
Delay 0.001
Locate 7, 37
Print "@0C@i@0F@/";
Delay 0.001
Locate 7, 38
Print "@0C@n@0F@|";
Delay 0.001
Locate 7, 39
Print "@0C@g@0F@\";
Delay 0.001
Locate 7, 40
Print "@0C@ @0F@-";
Delay 0.001
Locate 7, 41
Print "@0C@L@0F@/";
Delay 0.001
Locate 7, 42
Print "@0C@i@0F@|";
Delay 0.001
Locate 7, 43
Print "@0C@s@0F@\";
Delay 0.001
Locate 7, 44
Print "@0C@t@0F@-";
Delay 0.001
Locate 7, 45
Print "@0C@s@0F@/";
Delay 0.001
Locate 7, 46
Print "@0C@e@0F@|";
Delay 0.001
Locate 7, 47
Print "@0C@r@0F@\";
Delay 0.001
Locate 7, 48
Print "@0C@v@0F@-";
Delay 0.001
Locate 7, 49
Print "@0C@!@0F@ ";
Delay 0.001
Locate 7, 50
Print
Print
Close 1
End If
1046 WaitEnter
w5822 = 200
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
Do
1056 Reset
Cls
Print
Print " @0B@Listserv Sysop Utility v2.24 @0E@- @0F@Sysop Utilites Option"
Print
Print " @09@[@0F@C@09@] @0E@- @0A@Create a new Mailing List"
If Exists("listserv.dat") Then
Print " @09@[@0F@R@09@] @0E@- @0A@Remove a Mailing List"
Print " @09@[@0F@V@09@] @0E@- @0A@View your Mailing Lists"
Print " @09@[@0F@L@09@] @0E@- @0A@List/Search Subscribers for a Mailing List"
Print " @09@[@0F@D@09@] @0E@- @0A@Drop a Subscriber from a Mailing List"
Print " @09@[@0F@A@09@] @0E@- @0A@Add a Subscriber to a Mailing List"
Print " @09@[@0F@P@09@] @0E@- @0A@Change the high message pointer in LISTSERV.PTR"
Print " @09@[@0F@M@09@] @0E@- @0A@Moderate your lists - View/Delete unprocessed messages"
Print " @09@[@0F@B@09@] @0E@- @0A@Rebuild a Mailing List Data File"
End If
1170 Print " @09@[@0F@Q@09@] @0E@- @0A@Quit"
Print
Print " @0B@Choice@07@:@0F@ ";
s5421 = ""
Do
1199 s5421 = UCase(InKey(1213417543))
Loop Until s5421 > ""
Print "@0D@"; s5421
s65532_ = s5421
If s65532_ = "C" Then
GoTo 1550
GoTo 1550
End If
1283 If s65532_ = "R" Then
GoTo 2242
GoTo 1550
End If
1312 If s65532_ = "V" Then
GoTo 2575
GoTo 1550
End If
1341 If s65532_ = "A" Then
GoTo 2939
GoTo 1550
End If
1370 If s65532_ = "D" Then
GoTo 3505
GoTo 1550
End If
1399 If s65532_ = "L" Then
GoTo 4456
GoTo 1550
End If
1428 If s65532_ = "P" Then
GoTo 4238
GoTo 1550
End If
1457 If s65532_ = "M" Then
GoTo 5392
GoTo 1550
End If
1486 If s65532_ = "B" Then
GoTo 6460
GoTo 1550
End If
1515 If s65532_ = "Q" Then
GoTo 6964
GoTo 1550
End If
1544 Loop
1550 Cls
Print "@0A@Enter the mailing list address of your new list, minus the domain name."
Print "@0A@Example: WILDCAT-L, NEW-LIST, etc @03@[@0F@ENTER@03@]@0A@ to abort)"
t26_4605.s0 = InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (t26_4605.s0 = "") = 0 Then GoTo 1625
Loop
1625 Print
Print "@0A@Enter the name of the datafile you will use. A filename such as"
Print "@0A@ALIENS-L would use the ALIENS-L.DAT, ALIENS-L.ADD, ALIENS-L.DRP, etc,"
Print "@0A@for the mailing list operations."
Print "@0B@Filename@07@: "; DefColor;
t26_4605.s70 = InputMask("", "XXXXXXXX", "", 1213417543)
If (t26_4605.s70 = "") = 0 Then GoTo 1730
Loop
1730 Print
Print "@0B@Choose the type of list you wish to run@07@:"
Print
Print "@09@[@0F@1@09@] @07@-@0E@ Automatic subscription requests, non-subscribers can post"
Print "@09@[@0F@2@09@] @07@-@0E@ Automatic subscription requests, only subscribers can post"
Print "@09@[@0F@3@09@] @07@-@0E@ Must e-mail host to subscribe, non-subscibers can post"
Print "@09@[@0F@4@09@] @07@-@0E@ Must e-mail host to subscribe, only subscribers can post"
Print "@09@[@0F@5@09@] @07@-@0E@ Automatic subscription requests, must be authorized to post"
Print "@09@[@0F@6@09@] @07@-@0E@ Must e-mail host to subscribe, must be authorized to post"
Print
Print "@03@(@0C@NOTE@03@) @0E@All unsubscription requests will still be handled automatically."
Print
Print "@0A@Mailing List Type@07@: "; DefColor;
t26_4605.i78 = InputNumber("", 1, 6)
t26_4605.s0 = UCase(t26_4605.s0)
t26_4605.s70 = UCase(t26_4605.s70)
Cls
Print "@0A@List Name @07@:@0F@ "; t26_4605.s0
Print "@0A@List Files@07@:@0F@ "; t26_4605.s70
Print "@0A@List Type @07@:@0F@ ";
i65530_ = t26_4605.i78
If i65530_ = 1 Then
Print "Automatic subscription requests, non-subscribers can post"
Else
1977 If i65530_ = 2 Then
Print "Automatic subscription requests, only subscribers can post"
Else
2007 If i65530_ = 3 Then
Print "Must e-mail host to subscribe, non-subscibers can post"
Else
2037 If i65530_ = 4 Then
Print "Must e-mail host to subscribe, only subscribers can post"
Else
2067 If i65530_ = 5 Then
Print "Automatic subscription requests, must be authorized to post"
Else
2097 If i65530_ = 6 Then
Print "Must e-mail host to subscribe, must be authorized to post"
GoTo 2127
End If
End If
End If
End If
End If
End If
2127 Print
Print "@0A@Is this correct? "; DefColor;
If InputYesNo("", -1) Then
Reset
Open "listserv.dat" For Random As 1 Len = 80 '! This value should probably be replaced with a "SizeOf" expression
Put 1, LOF(1) + 1, t26_4605 '! 80 bytes
Close 1
Print
Print "@0A@Saving @0F@"; t26_4605.s0; "@0A@ ..."
WaitEnter
End If
2236 Loop
2242 Cls
Print "@0A@Enter the name of the mailing list you wish to remove@07@:"
s5425 = ""
s5425 = InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (s5425 = "") = 0 Then GoTo 2313
Loop
2313 s5425 = UCase(s5425)
Reset
Open "listserv.dat" For Random As 1 Len = 80 '! This value should probably be replaced with a "SizeOf" expression
i5431 = 1
Do
2354 Get 1, i5431, t26_4605 '! 80 bytes
i5429 = 0
i5429 = InStr(t26_4605.s0, s5425)
If i5429 > 0 Then
Print
Print "@0C@Remove mailing list @0F@"; t26_4605.s0; "@0C@ ? "; DefColor;
If InputYesNo("", 0) Then
Print "@0C@Are you SURE!? ";
If InputYesNo("", 0) Then
t26_4605.s0 = " "
t26_4605.s70 = " "
Put 1, i5431, t26_4605 '! 80 bytes
Close 1
Print
Print "@0C@Mailing list removed..."
Print
WaitEnter
GoTo 1056
End If
End If
End If
2545 Inc i5431
Loop Until i5431 > LOF(1)
Loop
2575 Cls
Reset
Open "listserv.dat" For Random As 1 Len = 80 '! This value should probably be replaced with a "SizeOf" expression
i5431 = 1
Do
2608 Get 1, i5431, t26_4605 '! 80 bytes
If t26_4605.s0 <> " " Then
Delay 0.001
Print "@0F@"; t26_4605.s0; " @0A@using data files of @0E@"; t26_4605.s70
Print "@0B@";
i65528_ = t26_4605.i78
If i65528_ = 1 Then
Print "Automatic subscription requests, non-subscribers can post"
Else
2739 If i65528_ = 2 Then
Print "Automatic subscription requests, only subscribers can post"
Else
2769 If i65528_ = 3 Then
Print "Must e-mail host to subscribe, non-subscibers can post"
Else
2799 If i65528_ = 4 Then
Print "Must e-mail host to subscribe, only subscribers can post"
Else
2829 If i65528_ = 5 Then
Print "Automatic subscription requests, must be authorized to post"
Else
2859 If i65528_ = 6 Then
Print "Must e-mail host to subscribe, must be authorized to post"
GoTo 2889
End If
End If
End If
End If
End If
End If
2889 If DisplayStopped Then
GoTo 1056
End If
End If
2904 Inc i5431
Loop Until i5431 > LOF(1)
Print
WaitEnter
Loop
2939 Cls
Print "@0A@Which mailing list to you want to add to?"
s5425 = ""
s5425 = InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (s5425 = "") = 0 Then GoTo 3010
Loop
3010 s5425 = UCase(s5425)
Reset
Open "listserv.dat" For Random As 1 Len = 80 '! This value should probably be replaced with a "SizeOf" expression
i5431 = 1
Do
3051 Get 1, i5431, t26_4605 '! 80 bytes
3066 Do While t26_4605.s0 = " "
Inc i5431
If i5431 > LOF(1) Then
GoTo 1056
End If
3115 Get 1, i5431, t26_4605 '! 80 bytes
Loop
3136 i5429 = 0
i5429 = InStr(t26_4605.s0, s5425)
If i5429 > 0 Then
Print
Print "@0A@Add to @0F@"; t26_4605.s0; "@0A@ ? "; DefColor;
If InputYesNo("", -1) Then
Cls
Print "@0A@Enter name/e-mail address to add to the mailing list:"
s4535 = ""
s4535 = InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
s4535 = UCase(s4535)
If s4535 = "" Then
Cls
GoTo 1056
End If
3317 Cls
Print "@0F@"; s4535
Print
Print "@0A@Is this correct? "; DefColor;
If InputYesNo("", -1) Then
Reset
Open t26_4605.s70 + ".dat" For Random As 2 Len = 70 '! This value should probably be replaced with a "SizeOf" expression
Put 2, LOF(2) + 1, s4535 '! 70 bytes
Close 2
Print
Print "@0F@"; s4535; " @0A@has been added."
Print
WaitEnter
Cls
GoTo 1056
End If
3469 GoTo 1056
End If
End If
3475 Inc i5431
Loop Until i5431 > LOF(1)
Loop
3505 Cls
Print "@0A@Drop subscriber from which mailing list?"
s5425 = ""
s5425 = InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (s5425 = "") = 0 Then GoTo 3576
Loop
3576 s5425 = UCase(s5425)
Reset
Open "listserv.dat" For Random As 1 Len = 80 '! This value should probably be replaced with a "SizeOf" expression
i5431 = 1
Do
3617 Get 1, i5431, t26_4605 '! 80 bytes
3632 Do While t26_4605.s0 = " "
Inc i5431
If i5431 > LOF(1) Then
GoTo 1056
End If
3681 Get 1, i5431, t26_4605 '! 80 bytes
Loop
3702 i5429 = 0
i5429 = InStr(t26_4605.s0, s5425)
If i5429 > 0 Then
Print
Print "@0A@Drop from @0F@"; t26_4605.s0; "@0A@ ? "; DefColor;
If InputYesNo("", 0) Then
GoTo 3851
End If
End If
3792 Inc i5431
Loop Until i5431 > LOF(1)
Print
Print "@0C@No lists matching @0F@"; s5425; "@0C@."
Print
WaitEnter
Loop
3851 Close 1
Print
Print "@0A@Who do you want to drop from @0F@"; t26_4605.s0; "@0A@ ? "; DefColor
s5425 = ""
s5425 = InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (s5425 = "") = 0 Then GoTo 3946
Loop
3946 s5425 = UCase(s5425)
Reset
Open t26_4605.s70 + ".dat" For Random As 1 Len = 70 '! This value should probably be replaced with a "SizeOf" expression
i5431 = 1
Do
3999 Get 1, i5431, s4535 '! 70 bytes
i5429 = 0
i5429 = InStr(s4535, s5425)
If i5429 > 0 Then
Print
Print "@0C@Remove @0F@"; s4535; " @0C@? "; DefColor;
If InputYesNo("", 0) Then
s5425 = s4535
s4535 = " "
Put 1, i5431, s4535 '! 70 bytes
Print
Print
Print "@0F@"; s5425; "@0C@ has been removed from @0F@"; t26_4605.s0
Print
WaitEnter
GoTo 1056
End If
End If
4179 Inc i5431
Loop Until i5431 > LOF(1)
Print
Print "@0C@No addresses matching @0F@"; s5425; "@0C@."
Print
WaitEnter
Loop
4238 Cls
Print "@0A@This will let you change the high message pointer in LISTSERV.PTR. Be"
Print "careful when running this, as changing the high message pointer may cause"
Print "Listserv to send out previously sent messages!"
Print
s5425 = ""
Print "@0A@Enter new high message, @03@[@0F@ENTER@03@]@0A@ to abort@07@: "; DefColor;
s5425 = InputMask("", "XXXXXXXXX", "", 1213417543)
If (s5425 = "") = 0 Then GoTo 4343
Loop
4343 Print
Print "@0C@Are you sure you want to reset the high message pointer to@0F@ "; s5425; "@0C@ ? "; DefColor;
If InputYesNo("", 0) Then
Open "listserv.ptr" For Output As 5
Print #5, s5425
Close 5
Print
Print "@0B@High message pointer reset to @0F@"; s5425; "@0B@."
Print
WaitEnter
End If
4450 Loop
4456 Cls
Print "@0A@List/Search which mailing list?"
s5425 = ""
s5425 = InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (s5425 = "") = 0 Then GoTo 4527
Loop
4527 s5425 = UCase(s5425)
Reset
Open "listserv.dat" For Random As 1 Len = 80 '! This value should probably be replaced with a "SizeOf" expression
i5431 = 1
Do
4568 Get 1, i5431, t26_4605 '! 80 bytes
i5429 = 0
i5429 = InStr(t26_4605.s0, s5425)
If i5429 > 0 Then
Print
Print "@0A@List subscribers for @0F@"; t26_4605.s0; "@0A@ ? "; DefColor;
If InputYesNo("", -1) Then
GoTo 4705
End If
End If
4675 Inc i5431
Loop Until i5431 > LOF(1)
Loop
4705 s5421 = ""
Do
4714 Print
Print "@09@[@0F@L@09@]@0A@ist all Subscribers or @09@[@0F@S@09@]@0A@earch Subscribers@07@: "; DefColor;
s5421 = InputMask("", "X", "L", 1213417543)
s5421 = UCase(s5421)
If s5421 = "S" Then
GoTo 5012
End If
4791 Loop Until s5421 = "L"
Cls
Close 1
Reset
Open t26_4605.s70 + ".dat" For Random As 1 Len = 70 '! This value should probably be replaced with a "SizeOf" expression
i5431 = 1
i5826 = 0
Do
4864 Get 1, i5431, s4535 '! 70 bytes
If s4535 <> " " Then
Inc i5826
Delay 0.001
Print "@0D@"; t26_4605.s0; " @0F@"; s4535
If DisplayStopped Then
GoTo 1056
End If
End If
4959 Inc i5431
Loop Until i5431 > LOF(1)
Print
Print "@0A@Total Subscribers@07@: @0B@"; i5826
Print
WaitEnter
Loop
5012 Print
Print "@0A@Full or partial name to search by?"
s5425 = ""
s5425 = InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (s5425 = "") = 0 Then GoTo 5082
Loop
5082 s5425 = UCase(s5425)
Reset
Open t26_4605.s70 + ".dat" For Random As 1 Len = 70 '! This value should probably be replaced with a "SizeOf" expression
i5431 = 1
Print
i5826 = 0
Cls
Do
5146 Get 1, i5431, s4535 '! 70 bytes
5161 Do While t26_4605.s0 = " "
Inc i5431
If i5431 > LOF(1) Then
GoTo 1056
End If
5210 Get 1, i5431, s4535 '! 70 bytes
Loop
5231 i5429 = 0
i5429 = InStr(s4535, s5425)
If i5429 > 0 Then
Inc i5826
Print "@0D@"; t26_4605.s0; " @0F@"; s4535
Delay 0.001
End If
5315 Inc i5431
Loop Until i5431 > LOF(1)
Print
Print "@0A@Total Matches@07@:@0B@ "; i5826
Print
Print "@0C@No more matches on @0F@"; s5425; "@0C@."
Print
WaitEnter
Loop
5392 Cls
Reset
Open "listserv.cfg" For Input As 1
Input #1, i5433
Close 1
i5435 = t27_4685.w661
Join i5433
Open "listserv.ptr" For Input As 1
Input #1, i5433
Close 1
Print "Checking for messages..."
Delay 0.001
mh5437.Number = i5433
Open "listserv.dat" For Random As 3 Len = 80 '! This value should probably be replaced with a "SizeOf" expression
5538 If (Not GetNextMessage(mh5437)) = 0 Then GoTo 5582
Print
Print "@0F@No more messages found."
Print
WaitEnter
Join i5435
Loop
5582 i5431 = 1
Do
Do
5589 Get 3, i5431, t26_4605 '! 80 bytes
If i5431 > LOF(3) Then
GoTo 5538
End If
5628 If (t26_4605.s0 = " ") = 0 Then GoTo 5659
Inc i5431
Loop
Do
Do
Do
Do
5659 If DisplayStopped Then
GoTo 1056
End If
5674 If (UCase(mh5437.To) = UCase(t26_4605.s0) Or UCase(mh5437.To) = "LISTSERV") = 0 Then GoTo 6440
If (mh5437.Flags And 512) <> 0 Then
GoTo 5538
End If
5756 Cls
GetMessageText(mh5437.Number, "listmdrt.tmp")
s5777 = Pad(mh5437.To, 15)
s5757 = Pad(mh5437.From, 20)
s5792 = Pad(mh5437.Subject, 15)
s5807 = Pad(Str(mh5437.Number), 7)
Print " @0A@Msg #@07@:@0F@ "; mh5437.Number
Print " @0A@From@07@:@0F@ "; mh5437.From
Print " @0A@To@07@:@0F@ "; mh5437.To
Print "@0A@Subject@07@:@0F@ "; mh5437.Subject
Print "@0D@[-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-|-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-]@0E@"
DisplayTextFile("listmdrt.tmp")
Print
If DisplayStopped Then
Print "";
End If
5984 Print "@09@[@0F@Y@09@]@0A@ Next Message, @09@[@0F@D@09@]@0A@elete Message, @09@[@0F@E@09@]@0A@dit Message or Su@09@[@0F@B@09@]@0A@ject, @09@[@0F@Q@09@]@0A@uit@07@: "; DefColor;
s5421 = InputMask("", "X", "Y", 1213417543)
s65524_ = UCase(s5421)
If s65524_ = "Y" Then
Print "@0D@Checking for messages..."
Delay 0.001
GoTo 5538
GoTo 6440
End If
6082 If (s65524_ = "D") = 0 Then GoTo 6191
Print
Print "@0A@Delete this message - @0C@Are you sure? "; DefColor;
If InputYesNo("", 0) Then
FlagSet mh5437.Flags, 512
UpdateMessage(mh5437, "")
Print "@0C@Message Deleted! @0D@Getting next message..."
Delay 1
GoTo 5538
End If
6179 Loop
GoTo 6440
6191 If (s65524_ = "E") = 0 Then GoTo 6252
If EditMessage(mh5437, "listmdrt.tmp", 1024) Then
UpdateMessage(mh5437, "listmdrt.tmp")
End If
6240 Loop
GoTo 6440
6252 If (s65524_ = "B") = 0 Then GoTo 6397
s5792 = mh5437.Subject
Print
Print "@0A@New Subject@07@ "; DefColor;
mh5437.Subject = InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If mh5437.Subject = "" Then
mh5437.Subject = s5792
End If
6373 UpdateMessage(mh5437, "listmdrt.tmp")
Loop
GoTo 6440
6397 If s65524_ = "Q" Then
Join i5435
GoTo 1056
GoTo 6440
End If
6434 Loop
6440 Inc i5431
Delay 0.001
Loop
6460 i5431 = 1
Cls
Print "@0A@Which mailing list do you wish to rebuild?"; DefColor
s5425 = InputMask("", "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX", "", 1213417543)
If (s5425 = "") = 0 Then GoTo 6534
Loop
6534 Open "listserv.dat" For Random As 1 Len = 80 '! This value should probably be replaced with a "SizeOf" expression
Do
6554 Get 1, i5431, t26_4605 '! 80 bytes
If t26_4605.s0 <> " " Then
If InStr(UCase(t26_4605.s0), UCase(s5425)) > 0 Then
Print
Print "@0A@Rebuild @0F@"; t26_4605.s0; "@0A@? "; DefColor;
If InputYesNo("", -1) Then
GoTo 6719
End If
End If
End If
6670 Inc i5431
Loop Until i5431 > LOF(1)
Print
Print "@0C@No more matches."
Delay 2
Loop
6719 Reset
i5431 = 1
i5824 = 1
Open t26_4605.s70 + ".dat" For Random As 1 Len = 70 '! This value should probably be replaced with a "SizeOf" expression
Open "lstutl.tmp" For Random As 2 Len = 70 '! This value should probably be replaced with a "SizeOf" expression
Print "@0C@Processing mailing list - Please wait..."
Delay 0.001
Do
6805 Get 1, i5431, s4535 '! 70 bytes
If s4535 <> " " Then
s4535 = Trim(s4535)
Put 2, i5824, s4535 '! 70 bytes
Inc i5824
End If
6875 Inc i5431
Loop Until i5431 > LOF(1)
Reset
CopyFile("lstutl.tmp", t26_4605.s70 + ".dat")
Kill "listmdrt.tmp"
Kill "lstutl.tmp"
Print "@0F@All done!"
Print
WaitEnter
Loop
6964 Reset
Print
Print